from django.db import models


# Create your models here.
class LoseRate(models.Model):
    userId = models.IntegerField()
    learnCount = models.IntegerField()
    loseRate = models.IntegerField()
    lastUpdateTime = models.DateField()


class LearnLog(models.Model):
    userId = models.IntegerField()
    # 卡片ID
    cardId = models.IntegerField()
    # 学习次数
    learnCount = models.IntegerField()
    # 本次学习情况
    logInfo = models.CharField(max_length=10)
    # 记录时间
    logTime = models.DateField()



